import request from '@/utils/request'

export function mylogin(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/user/login',
    method: 'post',
    data
  })
}

export function listAll() {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/menu/listAll',
    method: 'get'
  })
}
export function deleteSubMenu(data) {
  return request({
    url: 'https://www.tstjy.com:8019/companyWeb/subMenu/delete',
    method: 'post',
    data
  })
}

